/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.bo;

import org.ipti.br.tag.dao.PersonageCalendarFacade;
import org.ipti.br.tag.entity.PersonageCalendar;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.ejb.Stateless;

/**
 *
 * @author root
 */
@Stateless
public class PersonageCalendarBO implements Serializable {

    @Inject
    private PersonageCalendarFacade personageCalendarDAO;

    public PersonageCalendarFacade getPersonageCalendarDAO() {
        return personageCalendarDAO;
    }

    public void create(PersonageCalendar personageCalendar) {
        getPersonageCalendarDAO().create(personageCalendar);
    }

    public void edit(PersonageCalendar personageCalendar) {
        getPersonageCalendarDAO().edit(personageCalendar);
    }

    public void remove(PersonageCalendar personageCalendar) {
        getPersonageCalendarDAO().remove(personageCalendar);
    }

    public PersonageCalendar find(Object id) {
        return getPersonageCalendarDAO().find(id);
    }

    public List<PersonageCalendar> findAll() {
        return getPersonageCalendarDAO().findAll();
    }

    public void editForSynchronization(PersonageCalendar personageCalendar) {
        getPersonageCalendarDAO().editForSynchronization(personageCalendar);
    }
}
